//
//  LHDatePickView.h
//  lhpc
//
//  Created by 赵奎博 on 2017/3/30.
//  Copyright © 2017年 lhpc. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol datePickViewDelegate <NSObject>

- (void)DatePickselectTimeYYMMDD:(NSString *)dateTime;

@end

@interface LHDatePickView : UIView

//透明背景
@property (nonatomic,strong) UIView * grayOverView;

//白色背景
@property (nonatomic,strong) UIView * whiteOverView;

//取消按钮
@property (nonatomic,strong) UIButton * cancleButton;

//确定按钮
@property (nonatomic,strong) UIButton * sureButton;

//日历
@property (nonatomic,strong) UIDatePicker * pickerDate;

/**
 起始时间
 */
@property (nonatomic,copy) NSString * starTime;

/**
 结束时间
 */
@property (nonatomic,copy) NSString * endTime;

@property (nonatomic,assign) id <datePickViewDelegate> dategate;

/**
 移除
 */
- (void)dismiss;

/**
 显示
 */
-(void)show;
@end
